<#assign base = request.contextPath />
<html style="font-size:50px;" ng-app="app">
<head>
    <meta charset="utf-8">
    <title>我的奖品</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, user-scalable=no">
    <meta name="format-detection" content="telephone=no,email=no" />
    <link type="text/css" rel="stylesheet" href="${base}/css/myPrize.css" />
</head>
<body ng-controller="PrizeCtrl">
		<input type="hidden" id="stid" value="${storeId}"/ >
		<input type="hidden" id="redirecturl" value="${redirecturl}"/ >
    <header>
       我的奖品
    </header>
    <div class="table-body">
        <table border="0" cellpadding="0" cellspacing="0">
            <tr>
                <th>时间</th>
                <th>奖品</th>
                <th>详情</th>
            </tr>
            <tr ng-repeat="prize in prizes">
                <td style="width:33%">{{prize.prizeDateTime}}</td>
                <td style="width:33%">{{levelMap[prize.prizeLevel]}} 等奖</td>
                <td style="width:34%">{{prize.prizeName}}</td>
            </tr>
            <tr ng-if="!prizes || prizes.length == 0">
	         	<td colspan=3>没有受奖记录</td>
	        </tr>
            
        </table>    
    </div>
    <footer>
            <a href="${redirecturl}">返回首页</a>
    </footer>
    <script type="text/javascript" src="${base}/js/lib/jquery.min.js"></script>
    <script type="text/javascript" src="${base}/js/lib/angular.min.js"></script>
	<script type="text/javascript" src="${base}/js/app/app.js"></script>
	<script type="text/javascript" src="${base}/js/app/service/apiService.js"></script>
    <script type="text/javascript" src="${base}/js/app/controller/double11prize.js"></script>
</body>